package com.buyingtickets.entity;

import java.awt.event.PaintEvent;

/**
 * @author Hexz
 * @date 2021/6/23 23:10
 */
public class UnitSeat {
    private int unitId;//单元Id
    private Seat seat;//座位对象
    private StopoverStation stopOver;//经停对象
    private int whether;//是否出票
    
    @Override
    public String toString() {
        return "UnitSeat{" +
                "unitId=" + unitId +
                ", seat=" + seat +
                ", stopOver=" + stopOver +
                ", whether=" + whether +
                '}';
    }

    public int getUnitId() {
        return unitId;
    }

    public void setUnitId(int unitId) {
        this.unitId = unitId;
    }

    public Seat getSeat() {
        return seat;
    }

    public void setSeat(Seat seat) {
        this.seat = seat;
    }

    public StopoverStation getStopOver() {
        return stopOver;
    }

    public void setStopOver(StopoverStation stopOver) {
        this.stopOver = stopOver;
    }

    public int getWhether() {
        return whether;
    }

    public void setWhether(int whether) {
        this.whether = whether;
    }
}
